Read Counter

I am creating my own social network and I was wondering how to access the code that’s used for either form or blog post, that shows how much time it takes to read that post?