Context: How does \Magento\Framework\Data\Collection\AbstractDb::getSelectCountSql() work?
\Magento\Framework\Data\Collection\AbstractDb::getSelectCountSql()
Details: How does \Magento\Framework\Data\Collection\AbstractDb::_renderFiltersBefore() work?
\Magento\Framework\Data\Collection\AbstractDb::_renderFiltersBefore()