Add condition check showing page counter
Remove unused script in smart search form