Using the spectrum to calculate edges and triangles

Elise123

So I found out that
$\sigma(K_6)=\{[-1]^5,[5]\}.$
However how would I use this to calculate the number of edges and triangles in K6?