Please HELP!

How many pairs (A, B) are there where A and B are subsets of {1, 2, 3, 4, 5, 6, 7, 8} and A ∩ B has exactly two elements?