Adds nb of conv domains to hdf5 attributes