If 1 srm contains unique custid(e.g. 800) then count should be 1 and if the same srm contains the multilple custid's(e.g 1000 and 1000) then we have to show 1 or 0.
If one custid(e.g 4000) contains multiple srm's(e.g 2000 and 3000) then we have to remove that records.