public function get_word_count()
 {
     $current_document = $this->data;
     $count = 0;
     if (!$this->is_external_type()) {
         $wpml_post = new WPML_TM_Post($current_document->ID, $this->sitepress, $this->wpdb);
         $count += $wpml_post->get_words_count();
     }
     $count = apply_filters('wpml_tm_estimated_words_count', $count, $current_document);
     return $count;
 }