Only count non-obsolete entities