How many teams have a head coach named mahdi ali?
create table table_27631756_2 (team varchar, head_coach varchar, PRIMARY KEY (team))
select count(team) from table_27631756_2 where head_coach = "mahdi ali"