Check how many responses were made in same component

URL of experiment: https://gitlab.pavlovia.org/Jmurphy/probetest

Description of the problem:
Hi, I want to make a variable conditional on how many responses were made during a routine.

I know more than one response is recorded as I see it in the output.
I tried to get the number of responses by things like:

len(resp.getKeys())
len(resp.keys
size(resp.getKeys())

But no luck. I just need to check the condition, I know how to do the rest (‘if’ and etc.) . Any suggestions?

Also, while I’m here - how do I check if NO RESPONSE is made?
Things like these don’t seem to do the trick.

resp.getKeys() == []:
resp.getKeys()) == None

Hopefully, that’s enough information, cheers.

excuse the typos - the missing/extra brackets aren’t the problem

Do you have a keyboard component set to save all keys? If so, what is it called?