Adding search capability to statistics module