Adding AP Gain in the portal-list plugin, also adding useful function in portal_data
Removing the fields data since we only used the field count

Issues #669