Exercise 7 advanced

Sorry I need some clarifications. In exercise 7: Flip the coin, advanced level, should you count five consecutive ones “11111” surrounded by a zero on either side, or five consecutive ones as part of a longer stretch of ones e.g. “111111” where five ones in row occurs twice?