Fix bug in calculation of nobj per file when that calculation requires an input item, and number is not constant.