Close browser & add count for inventory

1. Fix the issue of firefox profile was not deleted per sesion
2. Add inventory count