user
Provide an output to the following function

Now complete the following instance -
Input: def words_in_sentence(sentence):
  sentence = sentence.lower()
  words = sentence.split(" ")
  return len(words) 

Input sentence: "This is a sample sentence"
Output:
assistant
4