Note: I noticed that the question is asking for the number of files si I
think the directories should be excluded.
So, If we want to calculate the files, we can use this:

ls -l /etc/ | grep -v drw

And num = 102