title: How to make python count how many files are in a directory?
body: <p>Just by the title, you might think that this is a duplicate but it is not. I need to make my program count how many files with a specific ending such as .mp3 or .mp4 are in a directory. So if I have 10 .mp3 files in a directory I want my program to figure that out. After that, I need to list those files with numbers next to them so that the user can enter a number to launch that file. I need help with counting the files.</p>