fix inadvertent change of #count behavior