You should use `ap_depth.size()` here, for more clarity.