Cardinality of groups and rings via the idempotency of infinite cardinals | Synapse