Removed useless counter.

Unnecessary, since we have the array length.