We have a lot of old links from our previous version of the website, we have a lot of links pointing to old links, my question is - does google recognize a backlink if it's being redirected? we are using 301 method.