counting function

noun
UK /ˈkaʊntɪŋ ˈfʌŋkʃən/
US /ˈkaʊntɪŋ ˈfʌŋkʃən/

A counting function is a math rule that tells you how many things are in a group.

The counting function showed there were twelve apples in the basket.


OTHER MEANINGS

2. In mathematics, a function that counts the number of elements in a set or that satisfy a given property.

The prime-counting function gives the number of primes less than a given number.

3. A function used in computer programs to keep track of how many times something happens.

The program uses a counting function to record each button press.

4. A statistical tool that tallies occurrences of events within categories.

Researchers applied a counting function to tally the survey responses.