count count -- Counts the number of elements. count counts the number of elements of an array. Usage // 1. Function form void func::count(int* result, string[]* values) // 2. Command form void sub::count(string[]* values) > result