#55568BE: Only make SQL count calls on uid not *
Description
The Record List (list and page module) runs
over all TCA tables and checks if a table should
be listed.
The total query information is called for every table,
which is quite a lot. However, only the count number
on these TCA tables is important. That’s why the call
to COUNT is rewritten to COUNT which speeds
up these SQL calls.