Removed unused argument from GetNoteCount.