added repository call to get file count