Hilbert Function of Filtered Modules