How can I get the text input from the user and count the words i am searching : <p>I am using fgets to get a sentence from the user and i am trying to get words and count on c code then print it. 
Exapmle: i want to count "Hello". When the program starts user write "Hello World Hello" and then the program prints "Hello used 2 times".</p>
