Removed some logic from collectionsCount