Application (:id, :name)
  has_many :steps
Step (:id, application_id, :status)
样本数据:
  Application       Name
 -------------  ------------
    1              'Peter'
    2              'Paul'
    3              'Mary'
  Step    Application ID    Status
 ------   --------------   -------------
    1           1           'new'
    2           2           'new'
    3           1           'in-review'
    4           2           'in-review'
    5           2           'completed'
    6           3           'new'
    7           3           'in-review'
如何获取最新count(*)申请状态的报告?IE
   Status       Count       
 ------------- -------
  'in-review'     2
  'completed'     1