title: Twitter t.co url shortened entity length count?
body: <p>Twitter automatically shortens links posted via their api to a <code>t.co/???</code> link. You can however mask the link with a link entity <a href="https://dev.twitter.com/docs/entities" rel="nofollow">twitter entity docs</a>. However, i cannot find any definitive answer to this question:</p>
  
  <p>Does the length of the entity display link count towards your 140 characters or is it only the <code>t.co</code> link length that gets counted?</p>
  
  <p>Example:</p>
  
  <p>39 Characters</p>
  
  <pre><code>Hello this url is shortened: t.co/abcde
  </code></pre>
  
  <p>This example still links to <code>t.co/abcde</code> but is 54 characters long</p>
  
  <pre><code>Hello this url is shortened: www.entity-masked-url.com
  </code></pre>
  
  <p>Which one is the correct length when using entities?</p>