Where is the info coming from that tournaments don't count? Of course they count. Many of the most competitive games come from tournaments.
For me, quality win is subjective: some guidelines may be--against a team that is ranked in its classification (or has been ranked and is still close), against larger schools with winning records, etc.