Added number of sub elements to UI element