URLs do count toward the tweet’s character limit.
AFAIK, media attachments’ URLs not counting toward the tweet’s length limit has been announced, but it’s not been rolled out yet and a date has not been confirmed:
I’m not sure whether the web card’s preview URL is considered a media attachment but, anyway, it doesn’t apply yet, so you’ll have to use a shorter version of your tweet’s text.