fix package count in files table