I've seen this question several times, and this one caught my attention. I'm now aware that there is no closed formula for this. My knowledge of graph theory is limited, and I wasn't able to find an explanation as to how to use it. So if someone could direct me to a good explanation, or explain it to me that would be great.
And also, I don't understand why the following wouldn't work to calculate the number of graphs:
For a graph with N vertices, we have M = (N * (N - 1))/2 edges we can potentially use. My reasoning was that if K >= N, then we are guaranteed a connected graph. Then for a graph where K >= N, surely there would just be M choose K potential graphs?