Predicate AssertionDensity::assertionCount

int assertionCount(FunctionDeclarationEntry f)