Messing with VARS

Does anyone know if there is way to check for a variable without loading it
I am trying to make a login system for my game, and to have more than one user account i have set up multiple save groups to save each individual username and password but i need a way to make the game check the number of usenames and passwords currently saved(without loading them)so it knows which group to save the variables for a new account in each time. My save groups are in order from "NameandPassword1" to "NameandPassword10". I know its kind of hard to explain but any help would be great.

