Returns the size of struct_name based on the given data model.
Returns the size of a pointer based on the given data model.