I have the following query:
SELECT count(m.p1_elo_one) FROM belgarath.match_result as m INNER JOIN belgarath.tournament AS tm ON tm.id_ = m.tournament_id INNE