The purpose of this work was to validate the calculation accuracy of nanodosimetric quantities in Geant4-DNA track structure simulation code. We implemented the Jet Counter (JC) nanodosimeter geometry in the simulation platform and quantified the impact of the Geant4-DNA physics models and JC detector performance on the ionization cluster size distributions (ICSD). ICSD parameters characterize the quality of radiation field and are supposed to be correlated to the complexity of the initial DNA damage in nanoscale and eventually the response of biological systems to radiation. We compared Monte Carlo simulations of ICSD in JC geometry performed using Geant4-DNA and PTra codes with experimental data collected for alpha particles at 3.8 MeV. We investigated the impact of simulation and experimental settings, i.e., three Geant4-DNA physics models, three sizes of a nanometer sensitive volume, gas to water density scaling procedure, JC ion extraction efficiency and the presence of passive components of the detector on the ICSD and their parameters. We found that ICSD in JC geometry obtained from Geant4-DNA simulations in water correspond well to ICSD measurements in nitrogen gas for all investigated settings, while the best agreement is for Geant4-DNA physics option 4. This work also discusses the accuracy and robustness of ICSD parameters in the context of the application of track structure simulation methods for treatment planning in particle therapy.