pending todos counter
merge master
Correct counter on init