def get_total_project_memberships(project):
 return project.memberships.count()

def get_total_project_memberships ( project ) : return project . memberships . count ( )
return tha total of memberships of a project .