2010 and 2014 congressional elections

I have heard on the show that democrats one popular vote in these elections but lost seats.My research shows something different in 2010 republicans had over 5 and half million votes in house and in senate over 3.5 million in the senate than the democratic party. 2014 republicans got 3.5 million more then democratsin the house and 3.5 million more than senate . Did i miss something?