I have written a function that returns the number of unique elements in an input range (along with some unittests), and put it in std.algorithm. I have also made a pull request for it. Is it considered useful to be an addition to phobos? Can someone review it? Thanks