When a post is uploaded, we need to obtain the word count and an excerpt to populate the posts list in the frontend.
This can be obtained by parsing the markdown (it does not need the entire set of plugins we use in the frontend). Uplift the logic from here.