計上心來

Idiom

 * 1) a stratagem comes to mind

Usage notes
Used frequently in the early vernacular novels and operas.