7. It is known that a certain parliament has a total of 30 members, where any two people are either friends or political enemies. Each member has exactly 6 enemies. Every 3 members form a 3-person committee. If a committee of 3 people are all friends or all enemies to each other, it is called a "good committee". Find the number of all good committees.
7. Use 30 points to represent 30 members. If two members are friends, connect the corresponding two points with a red line; if two members are political enemies, connect the corresponding two points with a blue line. The number of good committees is clearly the number of monochromatic triangles. Each non-monochromatic triangle has 2 bichromatic angles. In the graph, from each point, there are 6 blue lines and 23 red lines, forming $23 \times 6 = 138$ bichromatic angles, so the number of non-monochromatic triangles is $\frac{1}{2} \times 138 \times 30 = 2070$. Therefore, the number of monochromatic triangles (i.e., the total number of good committees) is $C_{30}^{3} - 2070 = 1990$.