Implement direct update of count of files