How many lines are in a sonnet?

There are 14 lines in a sonnet. Three quatrains and then a couplet, or alternatively an eight-line octet followed by a six-line sestet.