$index+1 in Knockout foreach binding
$index is an observable. So you need to use it this way :
<span data-bind="text: ($index() + 1)"> </span>
I found the answer here: Knockout is not evaluating an expression when using $index in a binding
In order to use it <span data-bind="text: $index() + 1"></span>