counter and hasText