new endpoint for getting profile count