Intuit Interview Question

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