#106510Missing events for Backend::getObjectCountByQuery
Description
While \TYPO3\CMS\Extbase\Persistence\Generic\Backend::getObjectDataByQuery has events to modify the query, `getObjectCountByQuery` currently lacks those.
This causes inconsistent results when working with modified queries.
Example: We modify the query in getObjectDataByQuery due to some project-specific language oddities.
This causes the Fluid code <f:count({news})> to return zero news, whereas the <f:for each="{news}" .. loop happily renders the desired result.
Adding events for `getObjectCountByQuery` as well, allows us to keep the results consistent.