counter for bugs killed and reset function added