The accepted answer given for What is the number of all possible relations/intersections of n sets? also counts cases when one or more sets are empty. For example, for $n=2$ there are $2^{2^n-1}=8$ relations, but only for $5$ of them both sets are non-empty. (If you draw the Venn diagrams, in two of the $8$ cases one set is empty and in one case both.)
In how many ways can $n$ non-empty sets be related?