Removed static keyword counting errors during parsing