Add a "count" field to struct memory_map.