0.0.90
fixed up count function