It’s not that simple. Actually such counter is impossible to implement. Some of the tags could be processed only after you publish the post which makes it impossible to count characters at the time of writing.

Please see here for the very detailed explanation: Why we don’t have a Twitter characters counter