count bug