Understand spoken Thai

How long did he talk with his friend?

เขาคุยกับเพื่อนอยู่นานเท่าไหร่