title: How to find number of homescreens in android phone
body: <p>I wrote C# code that via adb send command "uiautomator dump"  and search for location of specific icon location, but in case that the icon is not in the current homescreen I swipe for next homescreen to find him and so on.
  Is there any way to find how many homescreens exist in the device ?</p>