The count_sup command counts the number of elements in a matrix which are greater than a given value.