if you are 7th in queue either end how many people are there in queue

if you are 7th in queue either end how many people are there in queue

Explanation

As the person is 7th from the either end, implies, there are 6 persons ahead of him and 6 persons behind him as shown below. Hence, there are 13 persons in the queue.