You can count on babies to work out quantity before they can talk, researchers say