How many triangles are there in the following diagram?

Answer: 
24
How many triangles are there in the following diagram?