I have checked The requirement and understand that as well.
you need a timer counter when user is visting the page , when he is on the another pgae , the timer will stop and when be back time will show the remainign time
i have more than 6 years experience in wp theme customization,custom plugin and MVC Architecture
or We can discuss over the chat
Thanks.