Simply add another case at whatever number of seconds and change intCount=0 or add intcount=0 in your case 12 depending on when you want the count to start over.

It is very simple if you just think about what it is actually doing.