in a soccer league with four teams, each team played four games with every other team. each team received $3$ points for a win, $1$ point for a tie, and no points for a loss. after all the games, the point tallies were as follows: team a won $22$ points, team b won $19$ points, team c won $14$ points, and team d won $12$ points. how many games ended in a tie?