Count
Usage
• Count[list, pattern] gives the number of elements in list that match pattern. • Count[expr, pattern, levelspec] gives the total number of subexpressions matching pattern that appear at the levels in expr specified by levelspec.
Notes
• Level specifications are described in Section A.3.6. • New in Version 1.
|