text similartiy count with hadoop