140 seems like too many to me, what about

Well, maybe that's not exactly right: you have to check for yourself. But the basic idea that I want to convey is that you should try to use well known counting formulas to figure it out. In my attempt you can see, I hope, that , , and are meant to count all trianglesof a certain type.