How to get the duplicated information from the table like
Docnum |CustomerName| DocumentValue| Date
101 |ABC | 10 | 14-04-18
102 |ABC | 10 | 14-04-18
103 |LMN | 11 | 14-04-18
104 |KFB | 11 | 15-04-18
105 |KFB | 12 | 16-04-18
106 |KFB | 12 | 16-04-18
107 |KFB | 12 | 17-04-18
108 |XYZ | 12 | 17-04-18
Result should be:
Docnum |CustomerName| DocumentValue| Date | Count
101 |ABC | 10 | 14-04-18 | 2
102 |ABC | 10 | 14-04-18 | 2
105 |KFB | 12 | 16-04-18 | 3
106 |KFB | 12 | 16-04-18 | 3
107 |KFB | 12 | 16-04-18 | 3