// Count returns the number of model instances for provided query.
Count returns the number of model instances for provided query.
// Count returns the number of model instances for provided query .
func (p *postsQueryBuilder) Count() (int64, error) {
	if p.err != nil {
		return 0, p.err
	}
	return p.builder.Count()
}
func ( p * postsQueryBuilder ) Count ( ) ( int64 , error ) { if p . err != nil { return 0 , p . err } return p . builder . Count ( ) }
Count returns the number of model instances for provided query.
Count returns the number of model instances for provided query .