Giraffes are able to use basic statistics to select their favourite food, a new study in Barcelona has found.