add count to database yml