overriding equals, sort by word count scenario, string to date