Semiparametric count data modeling with an application to health service demand