def count_words(texts):
	"""
	Counts the words in the given texts, ignoring puncuation and the like.

	@param texts - Texts (as a single string or list of strings)
	@return Word count of texts
	"""

	if type(texts) is list:
		return sum(len(t.split()) for t in texts)

	return len(texts.split())