calculate incomplete tasks