Adding nil file type counter metric fix to documents