The second theory is called subatizing which means you can look at a small number of items and automatically know how many of each are present. For example, if you glimpse at the stars, you can see that there are two red stars. Or three blue stars. Or what have you. And chimps retain this information better than humans, especially Ayumu, because as humans evolved and acquired new skills-like speech-we lost others such as super awesome visual memorization.