Add missing JMX export for RemoteTaskFactory
Fix COUNT and MAX_BY to be decomposable