fixed todos counter