I am assuming that you have a separate record for each bowling frame.
Enter find mode
Specify 9 in first ball field, "y" in mark field or
> 9 and y if you want records where first ball count is 9 or larger.
Perform your find and the number of records will be the count you specified.
The same counts can be computed using a relationship or a filtered portal with a summary field.
And in all of these cases, I wouldn't be suprised if you needed to specify additional criteria such as a specific player, game or team (or any combination of them.)
Here's a relationship based example:
Stats::gFirstBall < Frames::FirstBall AND
Stats::gSpareFlag = Frames::SpareFlag
Where gFirstBall and gSpareFlag are global fields where you would enter 9 and Y to get the stats you've specified if you used an expression such as: Count ( Frames::FirstBall ) or referred to a "count of" summary field in Frames.
Note: You could use calculation fields set to specific constants in place of these global fields, but with global fields, you can get different counts just by entering different values into the global fields.