Test for "surround multiple words with delimiter".
Fix to surround multiple words with delimiter.

Text objects weren't being wrapped with a CountingState, and the count was obviously never applied.