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.

Example Input: Sentence: 'a kitchen has a microwave an oven and a countertop'. Reverse all words of length '2' in the given sentence.
Example Output: a kitchen has a microwave na oven and a countertop

Example Input: Sentence: 'two birds standing and sticking their heads in muddy water'. Reverse all words of length '3' in the given sentence.
Example Output: owt birds standing dna sticking their heads in muddy water

Example Input: Sentence: 'a man is holding on to handles as he water skies in the ocean'. Reverse all words of length '5' in the given sentence.
Example Output:
a man is holding on to handles as he retaw seiks in the naeco