That makes me think of the Inca's quipus.