SELECT customers.id, customer_operations.created, count(customer_actions.action_type_id)
FROM ((customer_operations 
       INNER JOIN customer_actions ON customer_actions.operation_id=customer_operations.id) 
      INNER JOIN customers ON customers.id=customer_operations.customer_id) 
WHERE customer_actions.action_type_id=302