Use 

```ruby
Rex::select(nil, nil, nil, 3)
```