contrib: history counts