How can I easily check the following?
from index.php, I want to check
- the number of posts that are being retrieved, whether in a category, Monthly archive or just the latest posts.
from single.php (single page, including comments where applicable)
- the number of comments.
I want to check this as the very first thing on that script. I don't want to check it from The Loop, or after the loop in the script.
Any tips appreciated!