Fix the list events function (url should not have trailing slash) and add count/offset arguments