Solar flare count periodicities in different X-ray flare classes