laid down logic for tagging and saving noun and noun phrase counts