I have a model called Partners and a model called Profiles.
A partner has many profiles and a profile has one partner.
I need a way to count in the partners controller to return how many profiles they have.
In the profiles table the column is called : partner_id which is the same as the id column in the partners table.
I have seen the .count() function but cannot work out what I need to return the correct number
Cheers