Increment over whitespace, counting characters.

def _skip_whitespace(self):
        """Increment over whitespace, counting characters."""
        i = 0
        while self._cur_token['type'] is TT.ws and not self._finished:
            self._increment()
            i += 1

        return i