afp_count

Count the number of non-zero elements in the input.

Arguments

  1. Input array, values
  2. Integer, dimension: 0 - columns, 1 - rows

Output

Resulting value or array

Examples

afp_count