Hello,
It's already half day while I'm trying to figure it out how to get product count number outside 'product_list_toolbar'. Tried many things like moving 'product_list_toolbar' to 'page.main.title'. But nothing worked. Also I tried
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$category = $objectManager->get('Magento\Framework\Registry')->registry('current_category');
echo $category->getProductCollection()->count();
But this returns only category products count. So If I'm in category and select to filter by price. This function still returns same number of category products, but not filtered ones.
HELP PLEASE!