caer en la cuenta

Etymology
lit. 'fall into the tale'.

Verb

 * 1)  to get it, to have the penny drop