Method Definition: def count(p: (A) => Boolean): Int Return Type: It returns the number of elements present in the set.
5
0