add arraylength validator
closes #948