add counter and xmlrpc for scheduler and fetcher