p [*$<][1].split.tally.count{_2==1}