maybe also count how many queries `$queryGroup->queries` has?