added a counts_only=yes|no parameter to fetch post counts