Counting the elements greater than a given value: count_sup

### 5.45.15 Counting the elements greater than a given value: count_sup

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

- count_sup takes two arguments:
  - a, a real number.
  - A, a matrix or a list of real numbers.
- count_sup(a,A) returns the number of elements of A that are strictly greater than a.

#### Example

Input:

count_sup(12,[[2,12,45],[3,7,78]])

Output:

2