The number of companies you can sit for depends on the limit set by the placement committee.
For e.g. You are provided with three chances. Your chance will be wasted only if you reach the final round of a company and fail to convert it. That means you can sit for as many companies as you want if you are failing in the preliminary rounds only.