A nonhomogeneous random walk on non-negative integers with transition probabilities p0i= delta 0i, pNi= delta Ni, Pi,i+1= lambda i, pi,i-1= mu i, and pi,i= rho i, lambda i+ mu i+ rho i=1, is studied. In particular, when the transition probabilities are independent of position, a general expression for the joint probability generating function (JPGF) of the frequency count of the stages 1,2,...,N-1 is derived. The appropriate marginal forms of this JPGF yield the PGF of the frequency count at any pair of stages, and at any particular single stage. Some moment formulae associated with the frequency count are derived. A random walk conditional on absorption at a specified boundary is also considered. The random walk model proposed is eminently suitable for the example of carcinogenesis.