I mean... technically, sharepoint already does this itself.
Day 365 of the year, run a flow,
Get Items (your list, sorted in ascending order by ID, and filtered for year=this year) set to a maximum of 1 item
Get Items (your list, sorted in descending order by ID, and filtered for year=this year) set to a maximum of 1 item
Since Sharpeoint automatically increments the id column, the highest ID Value on final day of year, minus the lowest ID Value on final day of the year, will give you the total done for that year
IE) last submission of year had ID 1899
first submission of year had ID 1345
1899-1345 = 554 items submitted that year