Personally I probably would have looked for a way to extract this count with lambdaj (flatten, i.e. functional style over procedural), and have considered that more readable. But seems more of a preference than a rule. Probably just leave it as it is.