I am trying to get a count of how many records are in a portal. I've tried the Count function and I've tried setting the field as a Summary (count of) type but in both cases it is not counting the portal records correctly. I have a layout with 2 tabs (1. Current Loans, 2. Past Loans), there is a portal on each tab with it's own count of records. How do I set this up?