# Counting outcomes of a coin flipping sequence

So I have this question regarding counting the possible outcomes of a coin flipping sequence. Here it is:

A coin is flipped 12 times where each flip comes up either as heads or tails. How many possible outcomes contain exactly 3 heads, where each head is immediately followed by at least 2 tails?

So I figure the outcome string must contain a combination of the following string blocks:

HTT, and HTTT

For example you could use HTT + HTTT + HTTT, which gives you three heads with each of them having at least two proceeding tails. The length of this string is 11, meaning there is one more possible outcome that has to be a tail. This can be placed at the beginning of the string, end of the string, or in between each string block. Thus the possible outcome strings are:

T HTTHTTTHTTT or HTT T HTTTHTTT or HTTHTTT T HTTT or HTTHTTTHTTT T

How do I systematically count all the possible outcomes strings using a combination of the string blocks HTT, and HTTT? How do I avoid counting possible repeats?

-

Since each head is followed by two tails, you can make "HTT" a block and regard it as one single element. Now, you have three "HTT" blocks and three "T" left. So the way of arrangement should be $6$ choose $3$, which is $20$.