Updated  script to count exact request