diff --git a/loopy/statistics.py b/loopy/statistics.py
index e0987f9e1bc7e1c3e95e3e240c319a9dbd5eb616..04ec9a522fa1f74ee583748261c4ee53d6d5afa3 100755
--- a/loopy/statistics.py
+++ b/loopy/statistics.py
@@ -1003,6 +1003,10 @@ class ExpressionOpCounter(CounterBase):
                                 + self.rec(expr.base) \
                                 + self.rec(expr.exponent)
 
+    def map_type_cast(self, expr):
+        # Treats type casting as free
+        return self.rec(expr.child)
+
     def map_left_shift(self, expr):
         return self.new_poly_map({Op(dtype=self.type_inf(expr),
                               name="shift",