What command is used to count the number of files in the current directory by using pipes ?

What command is used to count the number of files in the current directory by using pipes ?

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