Revert "add groove_file_frame_count API"

This reverts commit 5fd71c30b0aff3e8eda069626071ce2b5897e95c.

This is not reliable. Should be calculated from duration by the user.
Merge branch 'master' into 2.x