compute_observation_frequency function

Frequency distribution of the ranking sequences