Resolve "[writer] allow missing data info when no data expected"
Closes #1748 (closed)
This may also fix occasional failing of tests/nexus_writer/test_nxw_mtopmaster.py
https://gitlab.esrf.fr/bliss/bliss/-/jobs/111176/raw
It tries to get the number of images per file from the reference which may not be published yet.