Given an integer number, find the most frequent digit in it.

Examples:

Food for thought: how to count things efficiently?

Have fun and keep calm and code in Python!