How many is for countable quantities (Wie viele) like for cups
Q: How many cups are on the table?
A: Three cups (Giving a number)
How many is for uncountable quantities (Wie viel) like water
Q: How much water do you have left?
A: Not much, just for the day (No exact number)