Count records in a related list

If you want to populate a field with the count of the number of records in a specific related list on a custom object. Note:- Without using roll-up summary field I will suggest two triggers. First trigger on the child object (to cause a parent-level trigger), and a second trigger

Read More