Removed cardinality model for assuming dependent predicate selectivities
Updated cardinality estimation in the RHS of Apply to take LHS input cardinality from LogicalPlanningContext

On the side:

o Distinct is now 0.95 of input
o Other aggregations still are sqrt(input)
o Made sure QueryGraphs in sub queries have correct argument ids set
Introduce QueryGraphCardinalityInput into LogicalPlanningContext
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
Create a package for CountsKey and friends

- introduce a Factory for creating CountsKey
- make CountsKey to be an interface rather than an abstract class
Unify API on CountsStore to always use registers

- add a 'satisfies' method to the CopyableDoubleLongRegister to simplify assertions
Keep label information when planning optional matches
Make all Metrics types use QueryGraphCardinalityInput
Merge pull request #3463 from systay/apply-cardinality

Apply cardinality
Merge pull request #3416 from davidegrohmann/2.2-migrate-counts-it

More tests and code cleanup related to IndexSelectivity
Improve test speed by using an ImpermanentGraphDatabase
Cancel index sampling when index is dropped