Set A can have two members in either of 4 ways:
{0,7}{1,6}{2,5}{3,4}
In each of these 4 possibilities, B and C can be divided with B getting 1, 2 or 3 out of the 8 remaining.
So far we get 4 * (C(8,1)+C(8,2)+C(8,3))
Set A can have four members in any of 13 ways:
{0,1,4,9}{0,1,5,8}{0,1,6,7}{0,2,3,9}{0,2,4,8}{0,2,5,7}{0,3,4,7}{0,3,5,6}
{1,2,3,8}{1,2,4,7}{1,2,5,6}{1,3,4,6}{2,3,4,5}
B can have 1 or 2 of the remaining 6.
So we add in 13 * (C(6,1)+C(6,2))
Set A can have six members in one way:
{0,2,3,4,5,7}
Set B can have only 1 of the remaining four:
So add C(4,1)
When set A has 8 elements, B and C can't be divided unevenly without an empty set.
4 * (C(8,1)+C(8,2)+C(8,3)) + 13 * (C(6,1)+C(6,2)) + C(4,1) = 645