Added additional null check in getCount() as sometimes mViewPager would not be null but the adapter in it would be
Merge pull request #1 from Mobiquity/tgatling/NullCheckOnGetCount

Additional null check