Tool to count number of backdated candles

Can you kindly let know if there is any tool in any broker Desktop charting software In nse to count the number of backdated candle like in tradeview From current candle
Like ruler option in tradeview

If you are using Kite, the ruler option is available on Trading View charts in Kite.