Cardinality model updates

* Preserve known labels when looking at sub queries
* Folding over PlannerQuery rather than only looking a LogicalPlans for QueryHorizon
Refactored cardinality tests
Merge pull request #3422 from systay/cardinality-work

Cardinality work
Added missing license.
Fix RebuildCountsTest on Windows

- it was caused by a problem with non absolute path in the EphemeralFileSystemAbstraction
Fix test errors
Fix SchemaRuleCommand parser for 2.1
Test index counts are built correctly when migrating from 2.1 and 2.0
Remove BYTES_AS_INT use BYTES with proper min and max constraints instead
Add a test to make sure counts are propagated correctly in HA