def count_sightings(json_obj):
    """ Returns a count of the number of sightings per word in corpus

    Args:
        json_obj (dict).

    Returns:
        int: The return value.
    """
    try:
        return int(json_obj["number_of_sightings"])
    except KeyError:
        return 0