cronjob and workflow event to count childobjects