Bugfix with accessing sizes (num elements) in dmt builder