remove nan from count