--- lsfc
+++ lsfc
@@ -1,9 +1,10 @@
 #!/bin/bash
-
-ls $1 $2 $3 $4 $5 $6 $7 $8 $9 --color
-if [ "$1" = "" ] ;
-then
-  filecount . -t all
+ls --color "$@"
+while [ "${1#-}" != "$1" ]; do
+  shift
+done
+if [ "$#" -eq 0 ]; then
+  filecount -t all .
 else 
-  filecount $1 $2 $3 $4 $5 $6 $7 $8 $9 -t all
+  filecount -t all "$@"
 fi

