fix counting completeness of quotas