def get_security_count(self, market): cmd = GetSecurityCountCmd(self.client, lock=self.lock) cmd.setParams(market) return cmd.call_api()