Minor fix to UI

Implemented the counting of incomplete tasks and removed printing on
console