You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: owner.rb
    path of file: ./repos/hound/app/models
    
    the code of the file until where you have to start completion: class Owner < ApplicationRecord
  has
    
  def recent_builds
    Build.where(
      "DATE(created_at) > DATE(?) AND DATE(created_at) < DATE(?)",
      1.month.ago,
      Time.current,
    ).where(
      repo_id: repo_ids,
    ).count
  end