SQL:
SELECT count(*) as count FROM used_items WHERE type='0' AND post_date >= '2019-06-07 04:26:45' AND active='true'