The command to count the number of files in the current directory by using pipes, is_______________?

The command to count the number of files in the current directory by using pipes, is_______________?

A. ls | wc
B. ls -l | wc -l
C. ls | wc -w
D. ls | ws -c