def get_num_profiles():
 error_encountered = True
 profiles = get_install_server_profiles()
 if (profiles is not None):
  if (len(profiles) < 1):
   return 1
  else:
   return (len(profiles) + 1)
 if error_encountered:
  return 1

def get_num_profiles ( ) : error_encountered = True profiles = get_install_server_profiles ( ) if ( profiles is not None ) : if ( len ( profiles ) < 1 ) : return 1 else : return ( len ( profiles ) + 1 ) if error_encountered : return 1
get the number of profiles .