The end of the riddle tells us to count the number of his name. In the term numbering of his name we see this nearly exact term in the book of numbers: These verses are as follows:
Numbers 1:2 Take ye the sum of all the congregation of the children of Israel after families, by the house of their fathers with the number of their names, every male by their polls.
Numbers 3:40 And the Lord said unto Moses, Number all the firstborn of males of the children of Israel from a month old and upward and take the number of their names
We read in Revelation:17, the elaboration on the number of his name.
Revelation 13:17 so that they could not buy or sell unless they had the mark, which is the name of the beast or the number of his name.