RMI counter factory