Add component count to view