Revert "Removed the inconsistencies of count method (Issues #3368 and #4228)"

This reverts commit a21d4fe2ad6479a6ec1403df71de445626dd2cc0.

Conflicts:
	numpy/ma/core.py