I have seen the same problem in 13.4.1, and grateful for the tip above to try older version 13.2.1: that older version gives useful sample counts in my C code, while 13.4.1 did not.
Does anyone know if this issue has been resolved in any more recent version (post 13.4.1) version of Instruments?