If you want to display the words count in your post. you should use the following code in functions.php file.
If you are not wordpress developer then dont use this code in your theme files.
$content = ob_get_clean();
return sizeof(explode(" ", $content));
In single.php file put following code for showing the word count.