单项选择题

计算numpy中元素个数的方法是: (  )

A.np.sqrt()
B.np.size()
C.np.identity()
D.np.count()