simplifying things

it's not piping correctly though:

boy$ ls | wc
boy$ exit
      10      10      81
noah:boy broinjc$

Not sure why?