Arduino Due 32-bit Counter setup need help please!

Hey guys,
I try to program a 32-bit hardwarecounter which count an incoming signal.
It still doesn't work and I didn't finde any exampels at the internet.

It's so hard to understand all the registers in the Datasheet...

Maybe someone could show me a small example, how to set up the register of an counter.

It doesn't matter which output and input pin you use.
I simply try to understand this kind of counters at the Arduino Due.

I would be thanksfull if andybody could help me out.