How to get count in timepicker?

How to get count in timepicker?

Hello everyone, I'm trying to get the count next to my end time values in timepicker. So if I pick start date and then I pick the interval my end date will be created. I have first part done, my function works fine. Now I'm looking to get number that will increment based on how many values are created in end time. Here is full working code that I have so far:  http://jsfiddle.net/20m6b7qz/5/ I create count value and set equal to 0. Then I tried to put count++ inside of my end time but that did not work. Also I tried to check the length of my end time field but I'm getting 1 no matter what. If anyone know what I'm doing wrong please let me know. Thank you.