Repeater Limit Per Page

Does anyone know how to limit the number of items a repeater shows from a database, like say the first 50 items ?

You could do that on the Dataset Settings and more interesting things like filtering.

Thanks