Does anyone know a way of Chat GPT actually sticking to a word count?

I create a lot of work for social media and blogging platforms and often give character limits or targets, depending on the objective, but most of the time it goes over this limit, and I spend multiple replies to actually get it to create the correct length post.

It even tells me it’s created a tweet under 280 characters (with the character count, eg. 215) and then i check it and it’s 370 characters, for example.

Not only can it not do a basic word processing word count, but it also lies about the number of characters it’s counted in case I don’t notice.

Any tips on how i can create a model that actually counts and creates accurate length content would be much appreciated.