1.using a pipe count the number of files in the a directory
2.Count the number of files that have dot (.) in the their name
3.how to Creat a file named "number" that contains the number of users currently logged in .
i was told to use pipe and I/O redirection

plz help