Use "how many" with count nouns. Use "how much" with noncount nouns.
(For a review of count and noncount nouns click here.)
Here are some examples:
How many oranges were on the table?
How many cars are in the driveway?
How much coffee is left in the carafe?
How many houses are on this street?
How much water is in your class?
I hope this helps.