Fixed nullpointer.
Task Counter was counting at the wrong position.