count Variables
Gets the number of variables that satisfies the specified predicate present in the declaration.
Return
The number of variables in the declaration.
Parameters
predicate
The predicate function to determine if a variable satisfies a condition.