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