title: Typescript Error: Argument of type 'number' is not assignable to parameter of type 'Expected<Promise<number>>'
body: <p>I have the following function which fails on execution:</p>
  
  <pre><code>it('should show three items', () =&gt; {
      const EXPECTED_NUMBER_OF_ITEMS: number = 3;
      const countOfTabElements: Promise&lt;number&gt; = page.listOfTabs.count();
      expect(countOfTabElements).toBe(EXPECTED_NUMBER_OF_ITEMS);
  });
  </code></pre>
  
  <p>It throws the following Error when i execute it:</p>
  
  <blockquote>
    <p>Argument of type 'number' is not assignable to parameter of type 'Expected>'. (2345)</p>
  </blockquote>
  
  <p>Any ideas why?</p>