Currently, as soon as you hit play, the play count is increased and "last played" time is added.
Since Qmidi is thought to be used live, I think if the play count would be increased and last played time would be added only when the end of the track is reached (or a few seconds before that), the data would be more reliable, as it reflects the times you actually played the whole song.
Sometimes you just practice or just hit play to see if the track sounds ok and this currently increases the play count.
Maybe this could be added as an option: Increase play count: 1. At start 2. At end