Improve the grammaticallity of this text:
He knew 150 words, and he could distinguish many shapes and colors, and count numbers.
He knew 150 words, he could distinguish between many shapes and colors, and he could count numbers.