Row count method in Swftable not working and getting object doesn't support this property error message

I'm using UFT on two machines. One with UFT 14.5 version and other one recently upgraded to 2023 version.

My script was running properly in UFT 14.5 without any issues. 

After upgrading to 2023, Swftable rowcount(), columncount() methods are not working but it is working in UFT 14.5.

Also, I'm getting Object doesn't support this property error message if I use Rowcount method.

When I try to debug the code with some other method (GetRowsCount) it was working properly.

Can someone please help me to resolve this?