added getAllProfiles(), getProfilesCount()