In this task, you need to reverse all words of a given length in the sentence. The number of letters in a word determine its length. For example, the length of the word "apple" is 5.

Sentence: 'a water bottle sitting on top of a counter'. Reverse all words of length '6' in the given sentence.
a water elttob sitting on top of a counter

Sentence: 'a woman walks a horse wearing a blanket'. Reverse all words of length '7' in the given sentence.
a woman walks a horse gniraew a teknalb

Sentence: 'a person wearing a black shirt and pants wit ha dark blue tie'. Reverse all words of length '7' in the given sentence.

a person gniraew a black shirt and pants wit ha dark blue tie