You use the “via” parameter twice in your example. The Tweet text template created with a via username component may add six characters in English or more in other languages – " via @{username}".
A provided URL, if published in the submitted Tweet, will be shortened to the length specified by the short_url_length_https property of the help/configuration API response.
Pre-selected text is straightforward character counting.