Some people with obsessive-compulsive disorder (OCD) experience a type of compulsion called compulsive counting. These individuals may feel the need to count objects, people, or actions.
Compulsive behavior refers to the continued repetition of a behavior despite adverse consequences. The compulsions are fuelled by the obsessions (e.g., intrusive thoughts of contaminations).