public CompletableFuture<EntityCountResponse> count(String name, String namePattern, Long networkId, String networkName, HivePrincipal principal) { CountDeviceRequest countDeviceRequest = new CountDeviceRequest(name, namePattern, networkId, networkName, principal); return count(countDeviceRequest); }