countOccurrences
Removes unnecessary addition of `0`.
Cleaned up the current snippets for consistency and minor problems, added multiple tags to most of them, archived a few.