Doubt

In this example:

"He has too MANY problems" and

"She is in so MUCH trouble",

I didn't understand why in one situation use MANY and another MUCH. For me, both are countable.