I think there are more outs than 23 or 25 avaibable, but you would need a simulator to confirm it.

Let's say I have AKd

opponent has 2/3os

Flop is 9d, 10c, 8d

The only outs that your opponent has is 6 out of 45 (47 if we assume he doesn't know your cards).

All the remaining 39 cards are outs for you.

There could be ties if the board flops a straight, Flush (except diamonds), or boat.

two pairs on board and Quads would be OK, cause u have A kicker

There are probaby more than 30 outs here, but a program would need to calcuate the combination of out cards that are Ok individually, but not OK when combined.

Did that make any sense???