Cardinality beyond foundation and choice