added static count to cexpressions