Counts the open Task and Event records for parent objects