Title: &#036;querycount Variable
Last modified: August 18, 2016

---

# $querycount Variable

 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/)
 * Hi there, can i know is the $querycount variable in use for wordpress also?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [alexkingorg](https://wordpress.org/support/users/alexkingorg/)
 * (@alexkingorg)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-23986)
 * What are you trying to do?
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-23991)
 * trying to know how many queries i used for debugging.
    I used it, it works but
   the main default page of wp use only 3 queries while i think b2 uses 8? Correct
   me if i am wrong.
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-24021)
 * anyone guys?
 *  [Mike Little](https://wordpress.org/support/users/mikelittle/)
 * (@mikelittle)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-24029)
 * Hi Gamerz,
    There are lots of places where querycount is updated in the code.
   Whether that is **all** places, I’m not sure. There were places in b2 where it
   wasn’t used. My copy of the default page uses 5 queries. Mike
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-24040)
 * okie thanks mike =D

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘$querycount Variable’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 5 replies
 * 3 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [22 years, 8 months ago](https://wordpress.org/support/topic/036querycount-variable/#post-24040)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
