title: Shorter way to code in Python
body: <p>I am Python beginner. Following code does exactly what i want. But it looks a little dump coz of three for loop. Can somebody show me smarter/shorter way to achieve it? may be a single function or parallelizing for loops. </p>
  
  <pre><code>def getWordListAndCounts(text):
    words = []  
    for t in text:
        for tt in t:
          for ttt in (re.split("\s+", str(tt))):
              words.append(str(ttt))
    return Counter(words) 
  
  text = [['I like Apple' , 'I also like Google']]
  getWordListAndCounts(text)
  </code></pre>