Based on your comment above, you want to display the count of users, questions, answers and comments on your website.
This is easily done using the activity count widget that ships with default q2a installation.
To display these stats, go to your admin section →go to layout→then select "Activity count" under the available widgets at the end of the page and click on "Add widget".
Next choose where to add that widget and on what pages. The best position is in the sidebar, at the top. Save changes and it I'll appear there.
Hope this helps!