count_eq takes as arguments: a real and a real list or a real matrix. count_eq returns the number of elements of the list or matrix equal to the first argument. Input :
Output :