Only count non-closed cases.