<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def block_count(self):
 """ Reports the number of blocks in the ledger and unchecked synchronizing blocks :raises: :py:exc:`nano.rpc.RPCException` { "count": 1000, "unchecked": 10 } """


        resp = self.call('block_count')

        for k, v in resp.items():
            resp[k] = int(v)

        return resp