Hi, Bernhard.
I afraid, it can be quite difficult to implement this.
Just imagine such a scenario:
$this->view->assign('count', '{message} 235');
$this->view->assign('message', 'There are {count} rows');
Yes, it is up to developers to not allow this in the code, but what then framework should do in such a case?