Determing number the query ran by core wordpress

You can use Query Monitor plugin for that
Not quite sure if it distinguish between both but it’s a great plugin for query monitoring and debugging.