Added support for code generation of the CountofExpr. This doesn't do anything to final output but is useful for debugging.