The goal is to prevent multiple requests.
Double-clicking the button should make one request and increment the counter by one.
Count!
Source code