#169 Added support for query unique count