counts the number of occurrences which satisfy the given predicate from inside this iterable . concode_field_sep PlaceHolder placeHolder concode_field_sep Object findResult concode_elem_sep Object findResult concode_elem_sep Object findResult concode_elem_sep Object findResult concode_elem_sep List<U> findResults concode_elem_sep List<T> findResults concode_elem_sep Object eachWithIndex concode_elem_sep double sum concode_elem_sep Map<U,List<T>> groupBy concode_elem_sep Map<T,Map<K,V>> groupBy concode_elem_sep boolean any concode_elem_sep List<T> findAll concode_elem_sep Map<K,V> findAll concode_elem_sep Object each concode_elem_sep Object each concode_elem_sep String namedGroup concode_elem_sep List<List<T>> split concode_elem_sep T find concode_elem_sep Map.Entry<K,V> find concode_elem_sep int getLength concode_elem_sep String join concode_elem_sep boolean every concode_elem_sep boolean every concode_elem_sep List<U> collect concode_elem_sep Object collect concode_elem_sep List<T> collect concode_elem_sep Object collect
int function ( Iterable < T > arg0 , Predicate < T > arg1 ) { int loc0 = 0 ; for ( T loc1 : arg0 ) { if ( arg1 . test ( loc1 ) ) { loc0 ++ ; } } return loc0 ; }