files count now working