Write SQL query to solve given problem: From 1962 to 2011, how many coaches received both NBA and ABA awards?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT COUNT(DISTINCT coachID) FROM awards_coaches WHERE year BETWEEN 1962 AND 2011 AND award = 'ABA Coach of the Year' AND coachID IN ( SELECT coachID FROM awards_coaches WHERE year BETWEEN 1962 AND 2011 AND award = 'NBA Coach of the Year' )