### 6.3.23 Counting elements greater than a given value

The count_sup command counts the number of elements of a list strictly greater than a given value.

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

#### Example

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

2 |  |  |  |  |  |  |  |  |  |