add number of occurrencies to message
document registry example config