question: public synchronized int recoveredFileCount ( ) { int count = 0 ; for ( File file : fileDetails . values ( ) ) { if ( file . fullyRecovered ( ) ) { count ++ ; } } return count ; }
target:  number of file that were recovered (excluding on ongoing files)