Hmmm.
I'm looking at this question from the point of view of a former maths teacher who used to run (generally very successful) school football teams. Our motto was always "Attack! Attack! Attack!"
Why is that relevant here? Well that's where the maths comes in!
Team A might have a fantastic 'on target' figure of 4 out of 5, However if they're a defensive side and only get 5 shots at goal in an entire match that means that they only get 4 'on target' shots
Team B, on the other hand, only has a 2 out of 5 'on target' record but, because they're an attacking side, they get 30 shots at goal during a match. So they get 12 'on target' shots.
So which is the better side then?