Limiting laws and consistent estimation criteria for fixed and diverging number of spiked eigenvalues