Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE products ( product_id VARCHAR )
TABLE: CREATE TABLE orders ( order_id VARCHAR )
TABLE: CREATE TABLE order_items ( order_id VARCHAR, product_id VARCHAR )

### Question ###
List the count and id of each product in all the orders.

### Accurate SQL ###

SELECT COUNT(*), T3.product_id FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id