while this gives the AP, it does not take duplication into account? E.g., if there is a field each link would be counted twice and the field three times unless some kind of dup checking is made.