count Init Blocks
Returns the number of init blocks that satisfies the specified predicate present in the declaration.
Return
The number of init blocks in the declaration.
Parameters
predicate
The predicate function to determine if an init block satisfies a condition.