Three teams, A, B and C, play in a competition.
games won by A: games won by B = 3:1
games won by B: games won by C = 4:3
Team B has won 8 games.
In total, how many games have the three teams won?