Intuit interview question

How do you determine the cyclomatic complexity of a given function?