Returns the number of training patterns in the train data
$data
Returns the number of training patterns in the train data resource.
data
ニューラルネットワークトレーニングリソース。
Number of elements in the train data resource, or false on error.
false