What is the basis of Halstead’s complexity measure?

What is the basis of Halstead’s complexity measure?

Halstead’s complexity measure are based on counts of operator(s) and operand(s) in a particular code. The formula can be used :- Size of the code = Number of Operators + Number of Operands.