So you’d normally say “that’s too much!” in which case the subject “that” is plural and countable so therefore “much” would be correct.
Otherwise you should say “you have given me too many refried beans!” since the beans are volumetric and not countable entities.
Haha, LOL, I totally get it, but can someone explain it to my friend? He doesn’t get it.