Add QueriedGraphStatistics that collect statistics using core API at runtime
Hook in the QueriedGraphStatistics
Minor fixes to cardinality estimation and friends