Using the following lines of code, you will be able to count retweets in full text.

Now copy and paste the following lines of code in your theme’s single.php file.

Snippet Source/Credit: WPRecipes