Ticket 50664 - DS can fail to recover if an empty directory exists in db
Bug Description: In count_dbfiles_in_dir, when the recurse option is set
to false, the counter was zerod. Depending on the opendir (inode, dirent)
ordering of directories in a be folder (ie userRoot), this could cause
an empty directory to be examined last via the recurse option, when then
would clear the counter. If the counter is cleared, the server believes
no db files exist.
Fix Description: Remove the counter-zeroing on recurse == false which
requires us to check the original caller DOES zero the value (I checked,
Author: William Brown <email@example.com>, Thomas E Lackey <firstname.lastname@example.org>
Review by: ???