Given two sets (not neccesarily of same size), how many ways can we choose two subsets of same size, each from a different set? Order here doesn't matter and empty subsets count too, also I don't need the answer which includes binomial coefficients. I tried thinking about the Cartesian product of both sets' partitions and how we can eliminate pairs with different lengths but couldn't figure it out.
Example: given two sets {0,1} and {2,3,5} there are ${2\choose 0}*{3\choose 0}+{2\choose 1}*{3\choose 1}+{2\choose 2}*{3\choose 2}$ possible combinations