how to count occurrences of values in tuple

Tuple in python