Index: src/Parser/StatementNode.cpp
===================================================================
--- src/Parser/StatementNode.cpp	(revision 12f115660af199443846e0eaf25044dc38abc565)
+++ src/Parser/StatementNode.cpp	(revision 525f7ad65aaee3be785c86c188b191a2450ac8cc)
@@ -211,4 +211,15 @@
 	buildMoveList( forctl->init, astinit );
 
+	if ( forctl->range_over ) {
+		ast::Expr * range_over = maybeMoveBuild( forctl->range_over );
+		delete forctl;
+		return new ast::ForStmt( location,
+			std::move( astinit ),
+			range_over,
+			buildMoveSingle( stmt ),
+			buildMoveOptional( else_ )
+		);
+	}
+
 	ast::Expr * astcond = nullptr;						// maybe empty
 	astcond = maybeMoveBuild( forctl->condition );
Index: src/Parser/StatementNode.hpp
===================================================================
--- src/Parser/StatementNode.hpp	(revision 12f115660af199443846e0eaf25044dc38abc565)
+++ src/Parser/StatementNode.hpp	(revision 525f7ad65aaee3be785c86c188b191a2450ac8cc)
@@ -63,9 +63,12 @@
 struct ForCtrl {
 	ForCtrl( StatementNode * stmt, ExpressionNode * condition, ExpressionNode * change ) :
-		init( stmt ), condition( condition ), change( change ) {}
+		init( stmt ), condition( condition ), change( change ), range_over( nullptr ) {}
+	ForCtrl( StatementNode * decl, ExpressionNode * _range_over) :
+		init( decl ), condition( nullptr ), change( nullptr ),  range_over( _range_over ) {}
 
 	StatementNode * init;
 	ExpressionNode * condition;
 	ExpressionNode * change;
+	ExpressionNode * range_over;
 };
 
Index: src/Parser/lex.ll
===================================================================
--- src/Parser/lex.ll	(revision 12f115660af199443846e0eaf25044dc38abc565)
+++ src/Parser/lex.ll	(revision 525f7ad65aaee3be785c86c188b191a2450ac8cc)
@@ -321,4 +321,5 @@
 __signed__		{ KEYWORD_RETURN(SIGNED); }				// GCC
 sizeof			{ KEYWORD_RETURN(SIZEOF); }
+__count_e__		{ KEYWORD_RETURN(COUNT); }				// GCC
 static			{ KEYWORD_RETURN(STATIC); }
 _Static_assert	{ KEYWORD_RETURN(STATICASSERT); }		// C11
Index: src/Parser/parser.yy
===================================================================
--- src/Parser/parser.yy	(revision 12f115660af199443846e0eaf25044dc38abc565)
+++ src/Parser/parser.yy	(revision 525f7ad65aaee3be785c86c188b191a2450ac8cc)
@@ -284,4 +284,26 @@
 } // forCtrl
 
+ForCtrl * enumRangeCtrl( ExpressionNode * index_expr, ExpressionNode * range_over_expr ) {
+	if ( auto identifier = dynamic_cast<ast::NameExpr *>(index_expr->expr.get()) ) {
+		DeclarationNode * indexDecl =
+			DeclarationNode::newName( new std::string(identifier->name) );
+		assert( range_over_expr );
+		auto node = new StatementNode( indexDecl ); // <- this cause this error
+		return new ForCtrl( node, range_over_expr );
+	} else if (auto commaExpr = dynamic_cast<ast::CommaExpr *>( index_expr->expr.get() )) {
+		if ( auto identifier = commaExpr->arg1.as<ast::NameExpr>() ) {
+			assert( range_over_expr );
+			DeclarationNode * indexDecl = distAttr(
+				DeclarationNode::newTypeof( range_over_expr, true ),
+				DeclarationNode::newName( new std::string( identifier->name) ) );
+			return new ForCtrl( new StatementNode( indexDecl ), range_over_expr );
+		} else {
+			SemanticError( yylloc, "syntax error, loop-index name missing. Expression disallowed." ); return nullptr;
+		} // if
+	} else {
+		SemanticError( yylloc, "syntax error, loop-index name missing. Expression disallowed." ); return nullptr;
+	} // if
+} // enumRangeCtrl
+
 static void IdentifierBeforeIdentifier( string & identifier1, string & identifier2, const char * kind ) {
 	SemanticError( yylloc, "syntax error, adjacent identifiers \"%s\" and \"%s\" are not meaningful in an %s.\n"
@@ -368,5 +390,5 @@
 %token DECIMAL32 DECIMAL64 DECIMAL128					// GCC
 %token ZERO_T ONE_T										// CFA
-%token SIZEOF TYPEOF VA_LIST VA_ARG AUTO_TYPE			// GCC
+%token SIZEOF TYPEOF VA_LIST VA_ARG AUTO_TYPE COUNT		// GCC
 %token OFFSETOF BASETYPEOF TYPEID						// CFA
 %token ENUM STRUCT UNION
@@ -968,4 +990,9 @@
 			// $$ = new ExpressionNode( build_offsetOf( $3, build_varref( $5 ) ) );
 		}
+	| COUNT '(' type ')'
+		{
+			// SemanticError( yylloc, "Count is currently unimplemented. "); $$ = nullptr;
+			$$ = new ExpressionNode( new ast::CountExpr( yylloc, maybeMoveBuildType( $3 ) ) );
+		}
 	;
 
@@ -1599,10 +1626,9 @@
 		{ SemanticError( yylloc, "syntax error, missing low/high value for up/down-to range so index is uninitialized." ); $$ = nullptr; }
 
-	| comma_expression ';' enum_key						// CFA, enum type
-		{
-			SemanticError( yylloc, "Type iterator is currently unimplemented." ); $$ = nullptr;
-			//$$ = forCtrl( new ExpressionNode( build_varref( $3 ) ), $1, nullptr, OperKinds::Range, nullptr, nullptr );
-		}
-	| comma_expression ';' downupdowneq enum_key		// CFA, enum type, reverse direction
+	| comma_expression ';' enum_type					// CFA, enum type
+		{
+			$$ = enumRangeCtrl( $1, new ExpressionNode( new ast::TypeExpr(yylloc, $3->buildType() ) ) );
+		}
+	| comma_expression ';' downupdowneq enum_type		// CFA, enum type, reverse direction
 		{
 			if ( $3 == OperKinds::LEThan || $3 == OperKinds::GEThan ) {
@@ -1611,9 +1637,4 @@
 			SemanticError( yylloc, "Type iterator is currently unimplemented." ); $$ = nullptr;
 		}
-	;
-
-enum_key:
-	TYPEDEFname
-	| ENUM identifier_or_type_name
 	;
 
