// CountX is like Count, but panics if an error occurs.
CountX is like Count, but panics if an error occurs.
// CountX is like Count but panics if an error occurs .
func (ftq *FactTypeQuery) CountX(ctx context.Context) int {
	count, err := ftq.Count(ctx)
	if err != nil {
		panic(err)
	}
	return count
}
func ( ftq * FactTypeQuery ) CountX ( ctx context . Context ) int { count , err := ftq . Count ( ctx ) if err != nil { panic ( err ) } return count }
CountX is like Count, but panics if an error occurs.
CountX is like Count but panics if an error occurs .