Issue calculate

Hi together

Is it possible the make some statistics out of issues of a single project?

What I would need would be to calculate how long a ticket is open until it is closed.

Can I do something like this?

Thanks in advance