summary.component function

Summarise components