# Cannot get the counts of a job in Qiskit with the usual command

When I use job.result().get_counts I am getting this result:

<bound method Result.get_counts of <qiskit.result.result.Result object at ...>>


but no counts at all. I have tested it both with a new job and with an old one and in both cases the counts are not shown.

You are missing the () at the end of job.result().get_counts().

• Thanks, then the command changed. Do you know where can I find updates on the code? Oct 26 '20 at 9:00
• The command has not changed. It has been there as far back as the GitHub repo lets one search: github.com/Qiskit/qiskit-terra/blob/… Oct 26 '20 at 9:09
• If you want to see what changes in each Qiskit release, look here: qiskit.org/documentation/release_notes.html Oct 26 '20 at 15:23

Always in Python you need to put brakcets whenever you call a function:

job.result().get_counts(<function parameters>)


The parameter is a circuit name or index. If you run a single circuit then it should be:

job.result().get_counts()