By defining new properties, you can modify the object returned by the traversal.

::{
    field: <SchemaField>, 
    followerCount: <SchemaField/Traversal>
}

Example:

In Schema.hx:

N::User{
    name: String,
    age: U32,
}

In Query.hx:

QUERY GetUserDetails() =>
    users <- N<User>::RANGE(0, 10)
    RETURN users::{
        userID: ID,
        followerCount: _::In<Follows>::COUNT
    }

The above will return an object like so:

"users": [
    {
        "userID": "c2ca233f-0cd8-4fae-8136-b40593792071",
        "followerCount": 10
    },
    ...
]