public static int GetNumberOfProfiles (ProfileAuthenticationOption authenticationOption) { int totalRecords = 0; Provider.GetAllProfiles (authenticationOption, 0, 1, out totalRecords); return totalRecords; }