Fingers, words and counting in a cognitive robot