http://www.uscis.gov/files/pressrelease/PeriodsofAdm120506.pdf
The memo back in December 2006 "[c]larifies that time spent as an H-4 and L-2 dependent does not count against the maximum allowable periods of stay available to principals in H-1B and L-1 status."
Good luck.