Prefer empty function over ! count for this #2246