Need a button to perform two different functions

I’d like a button to load a movie but only every third or fourth click. Is this possible? I don’t know much about variables.