Index: src/Parser/parser.yy
===================================================================
--- src/Parser/parser.yy	(revision 9d5eacb77f6659b84df326bf35fe21bcde7e425b)
+++ src/Parser/parser.yy	(revision 76b507d24aba8184d760ef5fb795294bcdca3103)
@@ -970,8 +970,8 @@
 			// $$ = new ExpressionNode( build_offsetOf( $3, build_varref( $5 ) ) );
 		}
+	| COUNTOF unary_expression
+		{  $$ = new ExpressionNode( new ast::CountExpr( yylloc, maybeMoveBuild( $2 ) ) ); }
 	| COUNTOF '(' type_no_function ')'
 		{ $$ = new ExpressionNode( new ast::CountExpr( yylloc, maybeMoveBuildType( $3 ) ) ); }
-	| COUNTOF unary_expression
-		{ SemanticError( yylloc, "countof for expressions is currently unimplemented. "); $$ = nullptr; }
 	;
 
