Get Count Of Duplicate Records In Postgresql