     when "while", "do_while"
       hal = combineHalsteads [
         countExpressionHalstead statement.condition
-        countExpressionHalstead statement.block
+        countStatementHalstead statement.block
       ]
       hal.operators.push statement.statement
       hal

        hals = [
          countExpressionHalstead statement.domain
        ]
      hals.push countExpressionHalstead statement.block
      hal = combineHalsteads hals
      hal.operators.push 'for'
      hal

    hal.operators.push '()'
    return hal
  if expression?.receiver?
    hals = [countExpressionHalstead expression.receiver]
    hals.push countExpressionHalstead expression.index if expression.index?
    hal = combineHalsteads hals
    hal.operators.push '[]'
