how do i automatically calculate scale rating total