Modified the WordCount to remove tags that are self closing.