<p>If 666 = 3, 99 = 2, 8 = 2, 0 = 1, 9696 = 4, and 6623 = 2, then what does 876984 equal?</p>