Added attribute to keep track of length of task document