Added unique title count back in to histogram code