Yes, asking a recruiter how many other candidates are being interviewed for a position is generally appropriate. The best way to ask a question is by being confident in your abilities and putting forth the effort it takes for an interview.