R1CS constraint system

I wanted to ask about R1CS can we have more than 3 vectors while performing the gate operation. And please guide me if we can have more than five variable in the system?