Well, during the hack a couple years ago we lost all the posts but the post count remained, it was fake and not a real representation of how many posts were in the system. We recently bought and migrated to a new server and the post count now shows the accurate amount of actual posts of yours existing in the database.
So in short, it's not that the post count was reset, it's that the old posts are gone.