class AssetQueryService {

    public Invoker<Integer> getNumberOfAssets(ProjectAssetsQuery query) {
        return new Invoker<>(libraryService -> libraryService.getNumberOfAssets(query),
                             () -> tokenForGetNumberOfAssets,
                             newToken -> tokenForGetNumberOfAssets = newToken);
    }

    @Inject public  AssetQueryService(final Caller<LibraryService> libraryServiceCaller);

}