Add theano.len to compute a Variable's symbolic length