The pubsub spec doesn’t allow you to request a particular number of items using Result Set Management. It does say that a future version may use this, but currently it only supports requesting a particular number and all should be returned.
Result Set Management is only used when you request all items and the server decides to use Result Set Management based on volume.
I don’t know if OpenFire actually implements this or not though.