def cardinality(self):
        """
        Returns the number of all possible permutations.

        Examples
        ========

        >>> p = Permutation([0, 1, 2, 3])
        >>> p.cardinality
        24

        See Also
        ========

        length, order, rank, size

        """
        return int(ifac(self.size))