Set Variable to Count of Records

This page demonstrates setting and injecting Hashtag Variables using Count Of.   This method replaces Hashtag Lists that only reference the numberofrows Template Variable.   Set To Count Of saves processing time, as only the row count is returned, instead of all of the data for each row.  
Processing this Hashtag Markup:
<# set greens to count of ~ "Green$"; #>

Note:  Hashtag Markup is shown below <# in bold #>.   The value generated by processing the Hashtag Markup, and applying any Variable Contexts, is injected into this HTML page after the ⇒ symbol.  
<#[greens]#> ⇒ 15

The Hashtag Markup Language provides many methods for setting variable values, and using them later.

Variable Buckets can hold many values, processed together.   Variable Contexts enable safe injection anywhere.