I think this works: http://prntscr.com/ikmyls
Note that the input field is actually a string and that's why the ++ method doesn't work. And it is a string, because I use the same input parameter in other blocks where you can write values such as 1,2,3,4,5. But I tried solution above and I think it works.