Sum columns by foy in function rfr.