Unix commands to get the count of files

 ls -l *.rdf | wc -l