A model for the claim number process is considered. The claim number process is assumed to be a weighted Poisson process with a three-parameter gamma distribution as the structure function. Fitting of this model to several data encountered in the literature is considered, and the model is compared with the two-parameter gamma model giving the negative binomial distribution. Some credibility theory formulae are also presented.