SELECT 
    COUNT(*) AS num_rows
FROM
(
    [/. Items /]
) x
