Zerodha Account Opening
Invest with zero brokerage in Equity Delivery and Direct Mutual Funds. Pay a flat ₹20 per trade for Intraday and F&O. Open an instant account (FREE) with Zerodha and start trading today.
Note that Equity delivery brokerage is Rs 0 with Zerodha. So you don't pay anything.
For intraday, the brokerage is charged for every 'successfully executed order'.
In the example you gave above, if both the transactions are part of 1 order then you pay only Rs 20. It doesn't matter how many transactions order is completed in exchange.
If they are part of different orders placed, then separate brokerage of Rs 20 for each order is charged.
Free Equity Delivery
Flat ₹10 per Trade in Intraday & F&O