SELECT COUNT(item.*) FROM %%site_name%%_items item;