Task: Text to Code
Input (English): How many schools have some students playing in goalie and mid positions.
Output (English): SELECT COUNT(*) FROM (SELECT cName FROM  tryout WHERE pPos  =  'goalie' INTERSECT SELECT cName FROM  tryout WHERE pPos  =  'mid')