SQL:
SELECT count(*) as count FROM used_items WHERE type='0' AND post_date >= '2018-12-13 02:09:09' AND active='true'