Create countingLoops