The first counter is reset when {TAIL ~ the value} of {HEAD ~ the second counter} reaches a prescribed value 
The first counter is reset when { TAIL ~ the value } of { HEAD ~ the second counter } reaches a prescribed value
OTH OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL TAIL OTH HEAD HEAD HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH