public static < T > Number count ( T [ ] self , @ ClosureParams ( FirstParam . Component . class ) Closure closure ) { return count ( ( Iterable ) Arrays . asList ( self ) , closure ) ; }
Counts the number of occurrences which satisfy the given closure from inside this array .