How it works
Counting every bead is too slow for a flash, so read the rows instead.
Look at the top row first, then the row below: say the tens, then the ones.
For a nearly full row, look at the gap: eight across leaves a gap of two.
A third row on top holds the hundreds. An empty row is a zero, but it still holds its place.