In my opinion, the amount of commits does not mean anything and only wastes time when done incorrectly.
You want to create a meaningful git history, where you can easily go back and revert a specific feature that might have introduced a bug or issue that you want to undo.
This is a very hard task to accomplish when you fill your git history with spam commits just for the sake of producing commits.