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