Just so i'm clear, is the number of vertices?
Also, what about graphs that aren't simple? From the question, "without vertices of degree 0" as a definition for isolated vertices implies that we are dealing with simple graphs. However, it isn't explicitly stated!
Do you understand of sort of graphs we are dealing with here?
Insofar as I know the problem of counting labeled graphs only comes up for simple graph.
Oddly enough it is easier to count labeled graphs then it is to count unlabeled graphs.
There is no ‘mapping’ involved in a graph itself.
So what sense does it make to say "where every point maps to itself"?