Fixed issue with CountAssets