in reply to count files in a directory

need to get the values and mail Read values and email addresses from the files? Count the files and send email with the count? Pls help us help you.