Database

db={"products_entity":[{"ID":1,"TYPE":2,"CONTENT_DATA":"Hello world"}]}

Query

db.products_entity.aggregate([{$addFields:{size:{$strLenBytes:"$CONTENT_DATA"}}}])

Result