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