fix "count" in 1.6.4