Added backend implementation for getting search result count for a search term
Added frontend implementation of pagination