How many times a note is played

Good Morning, I am interested in counting how many times a note appears in a piece of music. Is there a way to do this besides manual counting. There are 88 keys on a piano, and i would like to have a count of how many times a each note is played in a song.

Thank You

you could export it as MIDI, import into Musescore, then select the note (or notes) you want to count. then you’ll have the count (e.g. 3.4), plus overall duration (0:00:06:1) the notes appear in, etc.