Open STAAD Command GetRepeatLoadCount not working

I am struggling with this Openstaad command GetRepeatLoadCount. For some reason, it is not working for me. It returns value 1 instead of the actual count.