Problem Statement
Write a program that counts how many times the digit 7 appears in a given non-negative integer.
For example, in the number 752717, the digit 7 appears 3 times (at positions 1, 4, and 6 from the right, 0-indexed).
Your program should read one integer from standard input and output the count of digit 7 occurrences.