It's nowhere near as many if it's just referees thinking that a certain team "should" win and bending the calls a certain way.
There are other options besides there being no problem at all, and full on game scripting.
Well there is a problem. Bad refs that are allowed to be bad with zero accountability, that's the problem.
And camera angles we see at home, that's a problem too.