counting the number of files listed in the unix

When I do ls -l *.log I wanted also the count of the files that has the extension .log, will I get it? if i did wc it only counts the characters and words but that is not what I want, I want the number of files listed according the pattern that I am listing,,

ls -l *.log  should list the files and also count them
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

ravenplConnect With a Mentor Commented:
ls -l *.log | wc -l
should do?
All Courses

From novice to tech pro — start learning today.