BUG: Removed the inconsistencies of the function ma.count
The inconsistency of ma.count when appled on masked_array with mask as
'nomask' has been removed. the return type of the function has also been
standardized according to the docs.Corresponding changes in testing to
check the functioning of ma.count
Closes gh-3368 and gh-4228
Merge pull request #4234 from jennystone/Branch1

BUG: removed inconsistencies of count (Issues #3368 and #4228)