Number of elements of each order in a cyclic group