count distinct peers