The most likely cause is that aggregate functions like @Sum
and @Count
don't automatically ignore deleted/dead assets.
You probably want to say something like:
rest-1.v1\Data\Story?
sel=
Children.ID,
Children.Actuals.Value,
Children:Task[AssetState!=Dead].@Count,
Children[AssetState!=Dead].Actuals.Value.@Sum.Value
&where=Number='B-02833'