Report question

Question: how to get files count in a directory using ruby