Please answer the following question and return the data in JSON format. The data should include the following fields:
  info: the answer text, 
  code: the answer code.  If there is no code in the answer, the code field can be left empty.

Question:Write a function in Python that takes a string as input and returns a dictionary with the count of each character in the string.

Please make sure the JSON format is correct and follows the field requirements. Do not add fields other than info and code. The word "format" should not appear in your response.
user