Yes you are correct.
Revelation 11
Two Witnesses Prophesy And Torment The Earth For 1260 Days
11 And a measuring-rod resembling a staff was given to me, saying “Arise, and measure the temple of God, and the altar, and the ones worshiping in it. 2 And put the court outside of the temple...