### 14.3.14 Counting elements smaller than a given value

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

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

#### Example

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

3 |  |  |  |  |  |  |  |  |  |