Make JoinCounter a proper inner class to allow access to
BaseTest#getDialect()