If you query your MYSQL database (whether inside or outside a function), of course same amount of query load you will create for your server.
Well if you are asking if this query load will be displayed or not via Nakkid's Hack, I dont know, but I believe yes it would. But does it matter? If your page is making 1000 SQL quaires to your MYSQL server and it shows only 3 has been made, what would it be for? You have still created 1000 query load whether it's hidden or obvious to page visitors..