8. Count the number of triangles in the figure: $\qquad$.

Translate the text above into English, please keep the original text's line breaks and format, and output the translation result directly.
【Analysis】Classification: 1 triangle $(1+2+3) \times 2=12$ 
4 triangles $(1+2) \times 2=6$ 
9 triangles 2 
Total 20