Count private threads correctly.