If set A has p elements and set B has q elements, then the number of elements in set A×B is
Number of elements in set A n(A) =p
Number of elements in set B n(B) = q
Number of elements in set (A × B) is given by
n(A × B) = Number of elementa in set A × Number of elements in set B = p×q