Question: how many file ids?
SQL: SELECT count ( distinct f_id )  FROM files