Added defects and team size calculation.