Here's a summary of some research into the math skills of dogs.
The canine IQ test results are in: Even the average dog has the mental abilities of a 2-year-old child.
The finding is based on a language development test, revealing average dogs can learn 165 words (similar to a 2-year-old child), including signals and gestures, and dogs in the top 20 percent in intelligence can learn 250 words.
In my opinion, what's amazing here is that dogs can pick up that much of a skill like using human words. I wonder if human beings would be flexible enough to pick up very many of the dog skills connected with smell and hearing. I'm not so sure.