diff --git a/src/main/java/org/andidev/webdriverextension/HamcrestHelpers.java b/src/main/java/org/andidev/webdriverextension/HamcrestHelpers.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/andidev/webdriverextension/HamcrestHelpers.java
+++ b/src/main/java/org/andidev/webdriverextension/HamcrestHelpers.java
@@ -71,7 +71,7 @@ public class HamcrestHelpers {
         }
     }
 
-    public static int numberOf(List<WebElement> webElements) {
+    public static Integer numberOf(List<WebElement> webElements) {
         try {
             return webElements.size();
         } catch (Exception e) {
Changed int type to Integer