made publishCounter and queryCounter work and print and also modified 7.no.workload.run.sh so that its output gets generated into seven seperate files