Please write a function that takes a string ‘s‘ as input and returns a mapping of words to the number of
occurrences of that word, but only containing the words that occur a prime number of times. Write the answer
in Rust and add line-by-line comments in Urdu!