Track generic param count and print types in ptr-conversion