title: java.lang.String: length() vs. count?
body: <p>I have a test string:</p>
  
  <pre><code>String test = "oiwfoilfhlshflkshdlkfhsdlfhlskdhfslkhvslkvhvkjdhfkljshvdfkjhvdsköljhvskljdfhvblskjbkvljslkhjjssdlkhdsflksjflkjdlfjslkjljlfjslfjldfjjhvbksdjhbvslkdfjhbvslkjvhbslkvbjbn";
  </code></pre>
  
  <p>During debug I noticed following. When I print out the length:</p>
  
  <pre><code>System.out.println("Test length() : " + test.length());
  </code></pre>
  
  <p>returns </p>
  
  <blockquote>
    <p>Test length() :  166</p>
  </blockquote>
  
  <p>When I debug, I can read 333 as <strong>count</strong> for test variable.</p>
  
  <p><a href="https://i.stack.imgur.com/KXszs.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KXszs.png" alt="enter image description here"></a></p>
  
  <p><strong>What does the count represent?</strong></p>