Function name: count_value
Description:

Count the frequency of a value.

Authors: Manos Papadakis