Add function to calculate summary of companies in SCM