my $wordcount; loop_over_each_url {; search_through_each_page_content {; $wordcount++ (everytime_word_match); } }