Display the number of active tasks in calendar view

I haven't tested the code but I guess it shows "(0)" when there's no active tasks. It should NOT display that.