fixing count