Add ActionClass('REST') to count method.