Such an expression would usually be written as something like ## V_{,j}^{i}V_{,k}^{j}A_{km,i} ##. The summation convention then says to sum over all indices that appear exactly once raised and exactly once lowered. But if the metric tensor is the flat space, Euclidean one, then, e.g. ## V_i = V^i ## and we can use a "generalized summation convention", where indices that are repeated are summed over, regardless of whether they are raised or lowered. Notice then that all the indices in your expression are summed over except for ## m ##. The result is a quantity with one index, in this case a vector. If there were no "free" indices left, then you would have had a scalar. If there were two free indices left, you would have had a second rank tensor.