A counter counts the number of {HEAD ~ times} a data image pattern is detected and generates {TAIL ~ a repeat count} 
A counter counts the number of { HEAD ~ times } a data image pattern is detected and generates { TAIL ~ a repeat count }
OTH OTH OTH OTH OTH OTH HEAD HEAD HEAD HEAD HEAD OTH OTH OTH OTH OTH OTH OTH OTH TAIL TAIL TAIL TAIL TAIL TAIL TAIL