BUG: ma: Inconsistent return type from the 'count' method.

This is an attempt to resolve the issue #3368 by WarrenWeckesser regarding the different datatypes returned bt count method when the masked_array is 1D and the axis is 0.