Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?

### Inputs:
table_name: table, columns: ['Rank', 'Company', 'Headquarters', 'Industry', 'Sales (billion $)', 'Profits (billion $)', 'Assets (billion $)', 'Market Value (billion $)']

### Response:
SELECT COUNT Rank FROM table WHERE Assets (billion $) < 248.44 AND Industry = oil and gas AND Headquarters = france AND Market Value (billion $) > 152.62