user: ### NOW ANSWER:
Question: How many teams have a head coach named Mahdi Ali?
Columns: ['Team', 'Chairman', 'Head Coach', 'Captain', 'Kitmaker', 'Shirt sponsor']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Al Ahli', 'Abdullah Saeed Al Naboodah', 'Abdul Hamid Al Mistaki', 'Fabio Cannavaro', 'Adidas', 'Toshiba']
SQL:

assistant: SELECT COUNT("Team") FROM "Table" WHERE "Head Coach" = 'Mahdi Ali';