See this image for more understanding.
I want to fetch Views total number of records in page.tpl.php before views.tpl called. Is it possible to fetch that row total before views rendered? I am also using contextual filter for this view. Views have page type display.
I have also used module views_record_count. but this will print total number of records on Views header or footer. (Not outside of views)