On the Number of Cycles of p-adic Dynamical Systems