Operating Basic Rx after a trigger

Hi All,

At some part of a project, I need to count pulses coming from an
external
source and so to say after 100 pulses I want to start the operation of
basicrx and save the data for 10 seconds.
Then stop receiving, reset counter.

Can I use Basic Rx pins for this purpose?
Where can I get more information about how to operation of these pins?
Should I use c++ or python interface for this purpose? (I did some work
in
python, should I change them to c++)

Is there any similar project written before so I can reference?

Thank you in advance.

-Burak