Could you also treat this as a geometric distribution with p=1/8 and then you add 2 to the mean of that to account for the length of the sequence?
the reasoning of +1 and -1 for the HH case is not correct, it only worked out (by chance) because the coin is fair.
@FRANKONATOR123