Added support for getting total unique