Add more functionality to counter web API