Some of these belong to the Association of International Marathons and Distance Races ( AIMS ) which has grown since its foundation in 1982 to embrace over 300 member events in 83 countries and territories .