On Stochastic Counting Processes Associated with a Semi-Markov Process