The number of generators in a group is based on the order of the group.
The no. of generators of a group will always be less than the order of the group and co-prime to the order of the group.
Here O(g) = 15,
Co-primes of 15 are 1,2,4,7,8,11,13,14
Thus the number of generators for this group is 8.