get top5 companies by type