code: func (q *Query) Count() (int, error) {
  	if q.stickyErr != nil {
  		return 0, q.stickyErr
  	}
  
  	var count int
  	_, err := q.db.QueryOneContext(
  		q.ctx, Scan(&count), q.countSelectQuery("count(*)"), q.model)
  	return count, err
  }
docs: // Count returns number of rows matching the query using count aggregate function.