using counters in python – a tryst with programming