minor: fixing counting