Given a large log file represented as a list of strings where each string contains an IP address, write a function to count the number of requests made by each IP address.
The function should return a dictionary where the keys are IP addresses and the values are the counts of requests.
Example 1:
Input: logs = ['192.168.1.1', '192.168.1.2', '192.168.1.1']
Output: {'192.168.1.1': 2, '192.168.1.2': 1}
Example 2:
Input: logs = ['10.0.0.1', '10.0.0.1', '10.0.0.2', '10.0.0.1']
Output: {'10.0.0.1': 3, '10.0.0.2': 1}
1 <= logs.length <= 10^6