Consider the graph $G$ given by following adjacency matrix $A=\begin{pmatrix} 0 & 1 & 0 & 0 & 1 \\ 1 & 1 & 1 & 1 & 1 \\ 0 & 1 & 0 &1 &0 \\ 0 &1 &1 &0 & 1\\ 1&1 &0&1&0 \end{pmatrix}$
Find the number of minimum spanning trees of the graph $G$
How do I find the number of minimum spanning trees? I can use Prim algorithm and find a minimum spanning tree but how do I know how many they are?
I draw the graph $G$ given its adjacency matrix:
Thanks in advance.

We throw away the loop, since spanning trees don't have loops. Also, since all edges have weight 1, a "minimum spanning tree" is just a "spanning tree". A $n$-vertex spanning tree has $n-1$ edges; in this case that's $4$ edges. There are $\binom{7}{4}=35$ subgraphs with $4$ edges (ignoring the loop), which I drew using a script below.
Now we count the ones without cycles, which are necessarily spanning trees: 21.