This should be pretty easy to fix, the poll choice count is provided under the /api/v1/instance information.