Statistics for The quark-hadron transition and hot hadronic matter in the early universe