title: Ios tableview how to find number of rows in a section?
body: <p>I have a dynamic array. I need to display tableview as following scenario...
  In the First cell i need to display 1 item.
  In the second cell i need to display 2 items.
  In the third cell i need to display 3 items.
  In the forth cell i need to display 1 item.
  In the fifth cell i need to display 2 items.
  In the sixth cell i need to display 3 items.
  and so on...
  Could any one please suggest how to return no of rows in a section.</p>
  
  <p><img src="https://i.stack.imgur.com/eglS2.jpg" alt="enter image description here"></p>