add task stat object.