Detecting the number of notes part added