Specify the polycount result with Decimate modifier

Hey everyone, been using blender for a few months now and it’s a blast.

I’m trying to streamline my process working with it with the use of Action Recorder addon.
That being said, I’d like to be able to specify a polycount result for the Decimate modifier instead of angle(when using planar mode) or Ratio (when using Collapse).
I’d like to do that because I need to have a specific polycount at the end but I never know what the initial polycount on the not-processed mesh will be.
Thanks in advance for the help.