$yourCartName->ConditionalTotal("Quantity", "ProductCategoryReqFlag", "1")
where "yourCartName" is the name of your ecart object.
this will return the Quantity of items in the cart where the ProductCategoryReqFlag column has a value of 1.
Thanks Jason
I had a feeling there was a more elegant solution
appreciated
Paul