Samuel Comfort (1837-1923) of Morrisville, Pennsylvania, (see biography of Samuel Comfort) attained considerable distinction as an inventor of improvements in mowing and reaping machines, sewing machines, etc., for which he received numerous patents (by age 24 Comfort held over 12 patents in the USA, and Great Britain, let's mention only patent US14445 from 1856 for a mower, US16507 from 1856 and US18437 from 1857 for a harvester rake, and US16968 from 1857 for a harvester cutter). Interestingly, one of his patents is for a counting-machine (see US patent 52681 from 1866).
The operation of the Comfort's counting-machine is as follows (see the lower patent drawing):
When the crank C is in the position shown in Figs. 2, 3, and 4 the bar L engages in one of the notches, k or k', in each of the numbering-wheels K, holding them all firmly to prevent their being turned upon their centers so as to alter the arrangement of the figures exhibited at the aperture in the face-plate. At the same time the bar N, which is secured to the frame H, is detached from the numbering-wheels and is free to move with the said frame without communicating any motion to the said wheels.
The patent drawing of Samuel Comfort's counting-machine
The spiral spring G, contracting, bears the end of the slot in the bar E against the crank-pin i. The crank C and the bar E being on centers, the frames F and H are at the extreme limit of their movement toward the projection b. The end of the crank-pin engages in the groove l in the frame H, which latter has completed one-half of its oscillatory movement.
0n turning the shaft D in the direction of the arrow, Fig.4, the crank-pin i in the groove l causes the frame H to turn upon the rod I until the lip h' comes in contact with the ways c'. At this moment the crank-pin leaves the groove l and the end of it passes over the surface of the flange m; but when the shaft D is put in motion, as described, the action of the spring G moves the frame F, which carries the bar L and the frame H, with the bar N, toward the projection b'.
By this movement the bar L is withdrawn from the notch in the wheel which indicates numbers of the denomination of units. As the bar L is withdrawn from this wheel the projection n of the bar N enters one of the notches, k or k', in the same.
If it should enter one of the smaller notches, k, the bottom of the notch o will bear against the face of the said wheel and stop the farther movement in that direction; but if it should happen to enter one of the larger notches, k', the larger portion of the bar N will pass through the said notch, and the projection n will engage the tens-wheel, and if the notch in the tens-wheel should be a large one also, it will pass on through this and enter the hundreds-wheel, and so on for the whole series; but the wheels being in the positions shown in the drawings, the bar N will only engage in the units-wheel.
When the frames F and H have been stopped by the bottom of the notch o bearing against one of the wheels K the crank will continue to revolve, the crank-pin running loosely in the slot in the bar E, the end of it passing freely over the face of the flange m until it re-enters the groove l, carries the frame H upon its axis in the opposite direction, turning with it the wheel or wheels K, which are engaged with the bar N.
When the lip h comes in contact with the ways c' the end of the crank-pin i again leaves the groove l and traverses over the surface of the flange m'. At some period of this portion of its movement the crank-pin again comes in contact with the end of the slot in the bar E, moves the frames F and H, withdraws the bar N, and again registers the numbering-wheels K upon the bar L.
The crank-pin then re-enters the groove l and completes the movement to the point whence it started. The notches in the numbering-wheels are so arranged in respect to the digital numbers marked upon the same that when the figure 9 (nine) is exhibited by any wheel at the aperture in the face-plate the larger notch k' of that wheel is so situated that the bar N may pass through it and engage the wheel of the next higher denomination. Thus the numbers indicated may pass from units to tens, from tens to hundreds, etc.