and $embeds->{$embed}->{is_count} ) {
my $relation = $+{relation};
$json_object->{$embed} = $self->$relation->count;
$json_object->{$embed} =
( defined $self->$relation ) ? $self->$relation->count : 0;
}
else {
my $curr = $embed;
-