The count
var is set to an object payload
, so the count is at count.payload
.
The error is object -1 reults in NaN, so JS is looking for a title in the property NaN.
stichwort
is set to an object payload
, so your include would be on stichwort.payload
, which would contains the originals object array element 1 title value, if the count was correct.