Name: Added getComponentCount.

Change-Id: I12b5aa60af5ee76f87b866b05a93d0ae5718093c