The first sentence needs AND. Whenever you write a list you need AND between the last two items.
I have horses, cows, pigs, sheep, ducks, geese, and goats.
The quesiton "How many of them" refers to all of them. There's nothing wrong with it, but it's not very specific as to how many of each animal there is.