Computational complexity of counting complexity classes