IndicatorCounted() returns -1

[Deleted]  

The function IndicatorCounted() is returning a -1, how do I resolve this issue?

Thanks in advance,

A