/* syntax version 1 */
/* postgres can not */
pragma EmitAggApply;

select count(if(key=1,cast(key as string))) from plato.Input;
