Also get rid of unused CountedReference class that used Trinity threading pattern. --HG-- branch : trunk
--HG-- branch : trunk