I am unsure: Do you really mean the number of nodes/elements or the ids of nodes/elements within the mesh data structures?