Recognize user's includeClosed setting in totals. closes #12