Tool added to find out actual limit of API request
Refactoring same functionality into function