// Count returns the count of the given query.
Count returns the count of the given query.
// Count returns the count of the given query .
func (ftq *FactTypeQuery) Count(ctx context.Context) (int, error) {
	if err := ftq.prepareQuery(ctx); err != nil {
		return 0, err
	}
	return ftq.sqlCount(ctx)
}
func ( ftq * FactTypeQuery ) Count ( ctx context . Context ) ( int , error ) { if err := ftq . prepareQuery ( ctx ) ; err != nil { return 0 , err } return ftq . sqlCount ( ctx ) }
Count returns the count of the given query.
Count returns the count of the given query .