Added new function for Note class

GetNoteElementIndex