Added a mapping to count the last searches matches.