Without searching too hard I don't seem to be able to find a CountIf function. This being the case then I would create a 2 textboxes in the detail section. The first would have: Iif(txtOC="open",1,0) and the other would be Iif(txtOC="Closed",1,0) where txtOC is the name of the textbox showing open/closed. Set these 2 new textboxes to visible=no. Now in the footer you can summ the values of these 2 boxes to get the totals.
HTH and hope that someone else can find a simpler way!