Hi Owais Ali. It is an estimate. Grammarly helps you to see the tone of a paragraph or your whole story with its emotion measuring system of emojis. There is no precise tool, that I know of, but you can see the number of words you have written that are meant to educate, inform, or entertain. If you select the text in draft mode, the Medium editor shows the number of words in the top left corner.