Importance Sampling for counting statistics in one-dimensional systems | Synapse