The casting-counter and the counting-board: a chapter in the history of numismatics and early arithmetic