In this case A U B = B, but the lack of generality won't make the result invalid.
How many subsets of B contain A?
So the elements 5, 6, and 7, each can either be or not be in the subset. That is 2^3 possibilities. So I think the answer is 8.