1) Open the plugin file basic-string-tools.php


2) Find this around line 127

 

# Strip HTML tags without gluing words. We assume the HTML is not encoded into entities.

function bst_html_stripper ( $text ) {

 $search = array( '@<script[^>]*?>.*?</script>@si', # Strip out javaScript

              '@<[\/\!]*?[^<>]*?>@si', # Strip out HTML tags

              '@<style[^>]*?>.*?</style>@siU', # Strip style tags properly

              '@<![\s\S]*?--[ \t\n\r]*>@' # Strip multi-line comments including CDATA

 

3) Add this line after the Strip out HTML tags.

 

'@[[\/\!]*?[^\[\]]*?]@si',	 # Remove shortcodes for common shortcode patterns.

 

4) It should now look like this.

 

# Strip HTML tags without gluing words. We assume the HTML is not encoded into entities.

function bst_html_stripper ( $text ) {

 $search = array( '@<script[^>]*?>.*?</script>@si', # Strip out javaScript

     '@[[\/\!]*?[^\[\]]*?]@si',	 # Remove shortcodes for common shortcode pattern such as Visual Composer

              '@<[\/\!]*?[^<>]*?>@si', # Strip out HTML tags

              '@<style[^>]*?>.*?</style>@siU', # Strip style tags properly

              '@<![\s\S]*?--[ \t\n\r]*>@' # Strip multi-line comments including CDATA

 

5) Go to word stats on the dashboard and hit refresh. It may not be immediate but it does work.