code: def get_member_count(self, obj):
      return obj.members.count()
  
file_path: modelchimp/modelchimp/serializers/project.py
imports: from uuid import uuid4
  from rest_framework import serializers
  from django.db import transaction
  from modelchimp.models.project import Project
  from modelchimp.models.membership import Membership
  from modelchimp.serializers.membership import MembershipSerializer
label_desc: Use image node_id 1 for calling the ProjectSerializer obj's underlying member method code with example usage: obj.get_member_count(obj) and returns: obj