def races_per_year(self):
    """Return total number of career starts for the horse divded by the horse's age as at the race date"""

    if self.age is not None and self.age > 0:
        return self.career.starts / self.age