A currency-counting machine is a machine that counts money—either stacks of banknotes or loose collections of coins. Counters may be purely mechanical or use electronic components.