# getInFeedBannerComponentsCount

### Overview <a href="#markdown-header-overview" id="markdown-header-overview"></a>

Gets the amount of in-feed banner components attached to the UI.

### Syntax <a href="#markdown-header-syntax" id="markdown-header-syntax"></a>

```
getInFeedBannerComponentsCount(placementName, callback)
```

placementName **(REQUIRED)**

*string.* Name of the in-feed banner placement.

callbac&#x6B;**(REQUIRED)**

*Callback\<Int>.* Used to provide the function call result to JavaScript.

Parameters:

* **Int**- the amount of in-feed banner components attached to the UI.

### Examples <a href="#markdown-header-examples" id="markdown-header-examples"></a>

```
RNAatkit.getInFeedBannerComponentsCount("InFeed", (count) => {
                console.log("amount of in-feed banners " + count);
            });
```
