counting stasks and stask done