What about move of this `count()` into variable, instead of such amount of calls?