arithmomania (n.) Look up arithmomania at Dictionary.com
"compulsive desire to count objects and make calculations," 1890, from French arithmomanie, from Greek arithmos "number, counting, amount" (see arithmetic) + French -manie (see mania). Related: Arithmomaniac.