Some changes when using the "count" feature with a DBAL query builder :
- The default behavior is no longer
count_by_sub_requestbut is nowcount_by_select_all(new behavior that performs aSELECT count(*) FROM ...). - When the
count_by_sub_requestbehavior is used, theconnectionoption (an instance ofDoctrine\DBAL\Connection) is now required.
Refer to the full documentation for available options.