You can't sum a calculated control, so you can move that calculation to the query the report is based on, use the Running Sum property of another textbox, or:
=Sum(IIf(DCount("[OrderID]","[tblOrders]","[ClientDetailsID]= " & [ClientDetailsID] & " and [Status] =3 and [OrderDate]<Date()")>0,1,0))