Probably in China but variations of it were used throughout the ancient world.
China invented the Abacus.
Charles Babbage developed abacus in 1820 for information send email to sahil2828@gmail.com
Chinese people
The abacus was developed by the Babylonians in 2000 BC. Though mechanical, it is considered to be one of the earliest computers.
You could be thinking of the abacus.
abacus
The abacus is believed to have originated in ancient Mesopotamia around 3000 BCE, making it one of the earliest calculating tools. It is thought that the Sumerians were among the first to use a form of the abacus for trade and accounting purposes. Over time, various cultures, including the Egyptians, Greeks, and Chinese, developed their own versions of the abacus, contributing to its evolution as a calculating device.
China invented the abacus .
How did the abacus occur?
An Abacus has beads and strings.
The Chinese abacus
ABACUS